const express = require('express');
const router = express.Router();
const klineController = require('../controllers/kline');

// 获取K线数据
router.get('/', klineController.getKlineData);

// 获取交易对列表
router.get('/symbols', klineController.getSymbols);

// 获取实时K线数据
router.get('/realtime', klineController.getRealtimeKline);

module.exports = router;